<template>
  <span v-if="props.value">开启</span>
  <span v-if="!props.value">关闭</span>
</template>
<script setup>
  const props = defineProps({
    value: { type: Boolean, default: false }
  })
</script>
<style lang="scss" scoped></style>
